package com.bcst.service.annotation;

import com.bcst.dao.annotation.UserDaoImpl;
import com.bcst.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description 欢迎关注公众号 编程识堂,每日更新技术相关文章，关注我不迷路
 * @author 小堂
 * @date 2023/8/31 0031 9:52
 * @description 注解配置改造
 */
@Service
public class UserService {

    @Autowired
    private UserDaoImpl userDao;

    public List<User> list(){
        return userDao.list();
    }
}
